package cn.edu.scau.cmi.liangzijian.builder;

public class Pizza {
	private String part1 = null;
	private String part2 = null;
	private String part3 = null;
	
	public Pizza() {
		
	}
	
	public void setPart1(String part) {
		part1 = part;
	}
	
	public void setPart2(String part) {
		part2 = part;
	}
	
	public void setPart3(String part) {
		part3 = part;
	}
	
	public String getPart1() {
		return part1;
	}
	
	public String getPart2() {
		return part2;
	}
	
	public String getPart3() {
		return part3;
	}
	
	public void show() {
		System.out.println("这是一个" + part1 + part2 + part3 + "比萨");
	}
}
